=mevte6">=link r=link rmtnble width="100%" sumlary="Navigavoon header">mtr>=th colt th="3" align="center:nChapter 32. TTeuSan, Checkli cl/th>=/tr>=tr>=td width="20%" align="left">=a accesskey="p"ehref="troubleshootith.html">Prev="am =th width="60%" align="center:nPart V. Troubleshootith=td width="20%" align="right"m Nid2="am=/tr>=/tnbleu hr>mcan prt1" lang="echapteriv class="titlepage">

="amChapter 32. TTeuSan, Checkli cl/h2div>prelfirstLDIFprelsurLDIFprelorgLDIFmat themt1" lang="eaddress">=pitname">prelemail"><mtehref="mailto:tridge@son, .org">tridge@son, .org="am>maty

mcan prcan prcan prv>prelfirstLDIFprelrtmerLDIFprelsurLDIFprelorgLDIFmat themt1" lang="eaddress">=pitname">prelemail"><mtehref="mailto:jelms @son, .org">jelms @son, .org="am>maty

mcan prcan prcan prv>prelfirstLDIFprelsurLDIFprelorgLDIFmat themt1" lang="eaddress">=pitname">prelemail"><mtehref="mailto:dan@son, .org">dan@son, .org="am>maty

mcan prcan prcan prv>Wed Jthm15map>mcan prcan prt1"p> You can prlepage">=pitb>Tnble of Contet smdlu dt>mt thme">preln"><1i>mtehref="diagnosis.html#>Im592795">I=troduction="ammdt>mt thme">preln"><1i>mtehref="diagnosis.html#>Im592828mdt>mt thme">preln"><1i>mtehref="diagnosis.html#>Im593056">TTeaTests="amm/dlu ca<1iv class="titlepage">

Im592795">="amIntroduction="h2div>

You can pres This file containsaa list of tes s yrorcanrperformatoavalidate yror Son, ss as .aI also tells yrorwTatutToalikely cause rfutTe problem is ifritrfails any ote ofutTese steps. Ifrit passFs all tTese tes s, tTenui isuprobnbly wbikith fite. map>mes Yrorshoto do all tTe tes s, in tTeuorde ashown. We haveutried to carefullyuchoose them so laterates s only use capabilities as ified in tro earlierates s. However, do not stopaatutToafirst error as tTere haveubeenusoIFainstances when crn2inuing with tTe tes s has helped to solve aaproblem. map>mes If yro send ote ofutTeaSon, mailing lis s u n email sayith, “lt thme">prelquove">mt thme">prelemphasis"tlem>it does not wbikmaem>mat themat the” and yro haveunot followed tTis tes procedure, yrorshoto not be surprised if yroraemail is igno ed. map>mcan prt1" lang="en"><1iv class="titlepage">

Im592828

You can pres Inuall ofutTeates s, i isuassumed yro haveua Son, ss as calledr BIGSERVER and a PC calledrACLIENT both in wbikgroup TESTGROUP. map>mes TTeaprocedure isusimilnrafor otmer typmes I isualso assumed yro knowatTo n">< rfuanravailnble sharerin yror prelfileLDIFtmpl/ty tmpl/ty ="amrp style="clear:nxb>ExamplF 32.1. smb.crnf with [tmp]asharemtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td> =/tr>=tr>=td>mi ce">[tmp]l/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im592898">="ammi ce"> comment =atemporaryafiles l/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im592914">="ammi ce"> p>th = /tmpl/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im592930">="ammi ce"> read only = yesl/ty =/tr>=/tnbleu can pres map>mt1" lang="enove"es< resoluvoon isucrrr"ctly net up.aMake sure yroramname">prelfileLDIF< ss as s tTatureallyudo exist. map>mes Also, ifuyrordo not haveuDNSass as access for n">< resoluvoon, plFase check tTat tTo netvithsafor yrorumname">prelfileLDIFprelcrmmand">dnsuproxy = nomab>mat the. TTe bes awayrto lheck tTisuis with prelcrmmand">tes par smb.crnfl/b>mat the. map>mes mtelang="ei="id2551616">Im592992">="am I isuhelpful to monitorutToalohafiles durith te cith by usith tTe prelcrmmand">tail -Faloh_file_6"><mat the inra separate 2551inal crnsoleu(use ctrl-alt-F1 tTrough F6 or multiplF t551inals inaX). Relevantalohafiles cae bprelfileLDIFprelfileLDIFprelfileLDIFmes If yro makerchanges to yrorumname">prelfileLDIFprelapplicavion">smbdmat the andaprelapplicavion">nmbdmat the. map>mcan prt1" lang="en"><1iv class="titlepage">

Im593056">="amTTeaTests="h2div>

You can prt1" lang="eprocedure"prp style="clear:nxb>Procedure 32.1. Diagnositg yror Son, ss as mol yp=li>mes mtelang="ei="id2551616">Im593075">="am Inutro dir">prelfileLDIFprelcrmmand">tes par smb.crnfl/b>mat the. Ifrit reports any errors, tTenuyroramname">prelfileLDIFmt1" lang="enove"esprelfileLDIFprelfileLDIFprelfileLDIFmcan prcli>mli>mes Run tro commandaprelcrmmand">pitg BIGSERVERmat the fC. tTe PC and prelcrmmand">pitg ACLIENTmat the fC. tTe UNIX box. Ifuyrordo not getaaavalidaresponse, tTenuyroraTCP/IP softwareris not crrr"ctly installed. map>mes Yrorwill nsed to startua “lt thme">prelquove">mt thme">prelemphasis"tlem>dosupromptmaem>mat themat the” wi="owaon tTe PC torrun pitg. map>mes If yro getaaamessnge sayith “lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIFmat themat the” or similnr, tTenuyroraDNS softwareroramname">prelfileLDIFmes Anotmer reason why pitgrmightufail is if yrorahostuis runnith firewall software. Yrorwill nsed to rprelcrmmand">ipchainsmat the or prelcrmmand">iptnblesmat the). map>mt1" lang="enove"esmcan pres If yro wish torlheck wTatufirewall rules may b< present inra systemuu="ir tes , nimply run prelcrmmand">iptnbles -L -vmat the or if mi ce">ipchainsprelcrmmand">ipchains -L -vmat the. map>mes Hereris ausonplF li citg fC. a systemutTat has n ext55nal etmerLet interface (etm1) on wTich Son, is not active, and an int55nal (private Letwbik) interface (etm0) on wTich Son, ris active: map>mpre lang="encre="ti fC.do:~ # iptnbles -L -v Chain INPUT (policy DROP 98496 packe s, 12M bytes) pkts bytes target prot optrin out srorce de citavoon 187K 109M ACCEPT all -- lo any anywhermes map>mcli>mli>mes Run tro command: prelcrmmand">smbcliet -L BIGSERVERmat the on tTe UNIX box. Yrorshoto get backra list of availnble shares. map>mes If yro getaan error messnge containith tTe strith “lt thme">prelquove">mt thme">prelemphasis"tlem>Bad passwbidmaem>mat themat the”, tTen yro probnbly haveueitmer an incrrr"ctami ce">hosts allowhosts denyl/ty validausersprelfileLDIFprelapplicavion">tes par mat the and temporarily removeu nyami ce">hosts allowhosts denyl/ty validausersinvalidausersmes If yro getaaamessnge “lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIFmat themat the” response, tTenutTeuprelcrmmand">smbdmab>mat the ss as may not be runnith. Ifuyrorinstalled it in mname">prelfileLDIFprelcrmmand">nitstav -a="b>mat the. map>mt1" lang="enove"esIm593373">="am mtelang="ei="id2551616">Im593379">="am SoIFaUNIX/Linux systems use prelcrmmand">xinetdmab>mat the in placF of prelcrmmand">inetdmab>mat the. Check yrorasystem documentavoon forutToalocavion ofutTeacontrol files for yroruparticulnr system implFmentavoon of tTe nitwbik sups daemon. map>mcan pres If yro getaaamessnge sayith “lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIFmat themat the”, tTe ss as refused tTe crnnecvoon. Ifrit says “lt thme">prelquove">mt thme">prelemphasis"tlem>Yror ss as softwareris bmat themat the”, tTen it'suprobnbly because yrorhaveuinvalidacommand lote paramevers torprelapplicavion">smbdmat the, or a similnrafatalaproblem with tTe initial startup rfumt thme">prelapplicavion">smbdmat the.aAlso check yroracrnfigufil< (prelfileLDIFprelapplicavion">tes par mat the and thatutTe various dir">mes TTere are a numbe arfureasons for wTich smbd may refuse or declote ssssion reques . TTeumost crmmonaofutTese involve ote or more of tTe mname">prelfileLDIF="amrp style="clear:nxb>ExamplF 32.2. Crnfiguratire for only allowith connecvoons fC. a certain subnetmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td> =/tr>=tr>=td>mi ce">[globnls]l/ty =/tr>=tr>=td>...matd>=/tr>=tr>=td>mtelang="ei="id2551616">Im593496">="ammi ce"> hosts deny = ALLl/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im593512">="ammi ce"> hosts allowu= xxx.xxx.xxx.xxx/yyl/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im593529">="ammi ce"> interfaces = etm0l/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im593544">="ammi ce"> bindainterfaces only = Yesl/ty =/tr>=tr>=td>...matd>=/tr>=/tnbleu can pres map>mpm Inutro above, no allowDncF has beenumade for any ssssion reques s tTat will automavocallyutranslate toutToaloopbackradapter address 127.0.0.1. Toasolve tTisuproblem,rchangeutTese lotes as shown in mtehref="diagnosis.html#modif2" clearelExamplF 32.3. Crnfiguratire for allowith connecvoons fC. a certain subnetaand localhost:ntTe followith examplF="am. map>mes map>mt1" lang="eexamplF:nxte6">="amrp style="clear:nxb>ExamplF 32.3. Crnfiguratire for allowith connecvoons fC. a certain subnetaand localhostmtnble lang="enimplFli c: borddr="0" sumlary="SimplF li c:nxtr>=td> =/tr>=tr>=td>mi ce">[globnls]l/ty =/tr>=tr>=td>...matd>=/tr>=tr>=td>mtelang="ei="id2551616">Im593607">="ammi ce"> hosts deny = ALLl/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im593623">="ammi ce"> hosts allowu= xxx.xxx.xxx.xxx/yy 127.l/ty =/tr>=tr>=td>mtelang="ei="id2551616">Im593640">="ammi ce"> interfaces = etm0 lol/ty =/tr>=tr>=td>...matd>=/tr>=/tnbleu can pres map>mpm mtelang="ei="id2551616">Im593661">="am Anotmer crmmonacause rfutTese two errors is havith soIFtTing already runnith mtelang="ei="id2551616">Im593669">="am on port mname">prelcrnstanc:n139l/ty , such as Son, r(prelapplicavion">smbdmat the is runnith fC. prelapplicavion">inetdmat the already)ror soIFtTing like Digital's Pathwbiks. Check yroramname">prelfileLDIFprelapplicavion">smbdmat the asaa daemon rit canravoidaa lot of frustratire! map>mes And yetaanotmer possible cause for failure of tTis tes is when tTe subnetamask and/orubroadcas address netvithsaarerincrrr"ct. Please checkrthatutTe nitwbik interface IP Address/Broadcas Address/SubnetaMask netvithsaare crrr"ctaand thatuSon, rhas crrr"ctly novedutTese inutToaprelfileLDIFmcli>mli>mes Run tro command: prelcrmmand">nmblookup -B BIGSERVER __SAMBA__="b>mat the. Yrorshoto get backrtTe IP address of yroraSon, ss as . map>mes If yro do not, tTenunmbd is incrrr"ctly installed. Check yroramname">prelfileLDIFmes One commonaproblem is tTav many inetduimplFmentavoons cae't takermany paramevers on tTe command lote. IfrtTis is tTe case, tTenucreate a one-lote scriptatTav containsatro rightuparamevers and runatrat fC. inetd. map>mcli>mli>mes Run tro command: prelcrmmand">nmblookup -B ACLIENT `*'mat the map>mes Yrorshoto get tTe PC's IP address back. Ifuyrordo not tTenutTeucliet softwareron tTe PC ise't installed crrr"ctly, or ise't started, or yro gotatTo n">< rfutTe PC wrong. map>mes If ACLIENT does not resolve vi DNSatTenuuse tTe IP address of tTe cliet inutro above tes . map>mcli>mli>mes Run tro command: prelcrmmand">nmblookup -d 2 '*'mat the map>mes TTis time we are tryith tTe s">< as tTe previous tes bu rare tryith ituvi anbroadcas aoatTe dofaultairoadcas address A cumbe arfu NetBIOS/CP/IP sosts an tTe Pitwbik suoto gespond ,alrhoutghSon, mai not bavih asl ofutTeatesponse,sin tTeusrhrt tTme witlosteti. Yrorshoto bse tTe m#8220;lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIF< ruesrytesponse,at themat themat the”, essngesuyC. srver,alsosts map>mes If yTis ioes not rgve a mimilnrafesultsto tro previous aes , nTen imblookup -se't srrr"ctly igtvithsyroramroadcas address nTrough tits utomavoca mehangismaIn mTis iase,yrorshoto fexperient =ith tTe mtelang="ei="id2551616">Im5936821>="aminterfaces opvoon in mname">prelfileLDIFmes If yro rPC and ss as anre't sn tTe P">< aubneta tTenuyrorpill nsed to rse tTe name">preloption">--B/ty rorpion toatseutToabroadcas iddress nT trat sfutTe PC saubneta.map>mes TTis tis awall nrobnbly bail is yro rPubnetamask and sroadcas iddress nre cot crrr"ctl. (Rfer toatESTG 3novedsabove ) map>mcli>mli>mes Rtelang="ei="id2551616">Im593685">="ammRun tro command: prelcrmmand">smbcliet -//IGSERVER /TMPab>mat the. Crorshoto gtTenuy< premptmd fir a sasswbidm Crorshoto gse tTe IasswbidmsfutTe Pccount ith tTich yro srerlioggd in:o tro pNIX box. Ifuyrordantatoanis awalth notmer pccount tTenuyddrtToacname">preloption">--Upccount "><prelcrmmand">smbcliet -//bigs as tmpl -Ujohnoes"b>mat the. map>mt1" lang="enove"esprelcrmmand">smbcliet -//bigs as tmpl -Ujohnoes%sereat"b>mat the. map>mtan pres mnce irordnter:tTe Iasswbidm yrorshoto fet tTe Pname">prelpromp ">rmbcgt;maty prelquove">mt thme">prelemphasis"tlem>Yt thme">prelerrorLDIF<mat themat the”, tTe ntTe ss asicetmpl/ty prelfileLDIFmes If yt says “lt thme">prelquove">mt thme">prelemphasis"tlem>Yt thme">prelerrorLDIFmat themat the”, tTe ntTe sikely cause nre :map>mt1" lang="enrddr=dli c:nxul yp=li>mes mYrormaveuishaowaoasswbidms (r syIFaUtmer posswbidmsystem )bu radin't compiled n subport KorutToaminaprelapplicavion">smbdmat the.a map>mv>i>mli>mes R rorumnelang="ei="id2551616">Im593693">="am alidausersmv>i>mli>mes R rorhaveua Smixd crse payswbidmsad yro haveu't snnble.rtToacnelang="ei="id2551616">Im593697">="ammayswbidmsevel wrpion tv ar hghtsnnugh tevel a map>mv>i>mli>mes R Toacnelang="ei="id2551616">Im593693th =ote in mname">prelfileLDIFprelapplicavion">tes par mat the a map>mv>i>mli>mes R rorhnnble.rtayswbidmsencrypion tu radin't mapspNIX borron, msers< Run : a thembme">prelcrmmand">smbcayswbd -atsersn>< /b>mat the mmap>mv>i>ml/olmtan pres mnce ionnecvoem yrorshoto fb aboe torrse tTe Iommandsaprelcrmmand">idir/b>mat the ,prelcrmmand">sgat"b>mat the. prelcrmmand">iput"b>mat the.and sso n. Iyp<"prelcrmmand">selpfIommands/b>mat the fCo instarction=. Yrorshoto epecial yuchockrthatutTe namunt if frueadistkspacesshown in crrr"ctlwhen trortop<"prelcrmmand">sdir/b>mat the map>mcli>mli>mes RO tTe PC ,top<"prelcrmmand">petamview \\IGSERVERmat the Yrorwill n sed to rdomTis iC. sith nra Losupromptmwi="owa Yrorshoto get backra l ist of ahares.availnble sontTe ss as map>mes If yro getaaamessnge “lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIF< aot foundmat themat themat the” or similnr,< resoluvoon isucot wbikmth. ITis is asualuy cause dby alproblem isnprelcrmmand">nmblmab>mat the. Toasas lcIFain,uyrorncto do ate ofutTeaSollowith e(rornnly =sed to rhoose tte ofutTeam):map>mt1" lang="enrddr=dli c:nxul yp=li>mes mYFixp.iTeuprelapplicavion">smbdmat the anstallavoons map>mcli>mli>mes RAdditTe IP address of tIGSERVER _oatTe et thembme">prelcrmmand">nwnsats as mcli>mli>mes RAEnble. W="owasn">< resoluvoon ii DNSatnutro abvantcd tscvoon rfutTeaSCP/IP sotup. map>mcli>mli>mes RAdditIGSERVER _oatror mlmosts aile bn tTe PC map>mcli>ml/olmtan pres mf yro getaaamessnge “lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIF<mat themat the”,or s #8220;lt thme">prelquove">mt thme">prelemphasis"tlem>Yt thme">prelerrorLDIFmat themat the”, tTe ntppliutTe ">< afxes as tolrtTeuprelcrmmand">smbdliet -L /ummap the bis awbove aIn articulnr makersure tror mn thembme">prelcrmmand">sests allowmes Also, io not tas looketrat fCct srat fhen tTe sbikstavoon (eques s tTa crnnecvoon._oatTe eon, ss as .,yitwitl autempottorcomnecvousith tTe r ">< rith tTich yro sioggd ionoatror mW="owasnachites Yrorssed to raker ure tTav nravcount ixist.son yror son, ss as cith tTeatexact sy>< ">< rndames If yro getaaamessnge “lt thme">prelquove">mt thme">prelemphasis"tlem>mt thme">prelerrorLDIFmat themat the” or similnr, ituvrobnbly beans yhatutTe nostuis rot crrntct -ble. i DCP/ss aices . heck yoatseeis yTe nostuis runnith aCP/swrpples, tndainfsso ddaa entry ln tro ename">prelfileLDIFmcli>mli>mes Run tro command:prelcrmmand">petamse xi: \\IGSERVER<\TMPab>mat the. Crorshoto gt< premptmd fir a sasswbidm tTenuyrorphoto get bamname">prelcrnpiut outut:nxommand:prelfileLDIFhosts allowprelfileLDIFmes I 'ualso aossible toat tTo netas cal't mbik ut wTatuuseruy">< rorcomnecvouro srs Toasoeeis yTes is tTe croblem,rcddrtToacote nelang="ei="id2551616">Im593424">="ammseruy=tsersn>< aoatTe i ce">[tmp]l/ty prelfileLDIF[sersn>< /by < aomr"cpond th toauTe Iasswbidmsrortop<"d Ifuyrordind wTes fxes aTing , yrormuy nsed toe tsersn>< aapsitgrmrpion map>mes Iftmightuflso abetTe case,tTatuyror sliet -nly =end ssencrypi.rtayswbidms and yro haveunnelang="ei="id2551616">Im593427">="ammencrypitayswbidms noman mname">prelfileLDIFmcli>mli>mes Run tro command:prelcrmmand">peblookup -dMtms sroup /ty tms sroup /ty < rfutTe Pbikgroup TTatuyror son, ss as cnda W="owasnC sabelog wto Yrorshoto get backraTe IP address of tTe mast ibrwasertolrtTeatPbikgroup map>mes If yro do not, tTenunToaprelfileLDIFIm593433">="ammpefereed tmast i yesl yofenure tTav enlcvoon rsuhelp av ptartup .map>mcli>mli>mes Rgt;mF. sile maynge tTrrto lbrwasetTe ss as Yor son, ss as choto ppleartnutro abrwasetist of aror mlcalhPbikgroup T(lrtTeuprelfileLDIF< f tTe s as cnda et bamist of ahares. Ifuyrordet tTe Prror messnge c#8220;lt thme">prelquove">mt thme">prelemphasis"tlem>itvalidacasswbidmaem>mat themat the”, yro srerlrobnbly bunnith aW="owasnNTtndaintis nefuseth toaubrwaset ss as cTat has nosencrypi.rtayswbidm apabilitiytndain an mUsertLvel wSecurtiytmodeaIn mTis iase,,eitmer aset nelang="ei="id2551616">Im593437">="amrsecurtiyt=ss as cnda nelang="ei="id2551616">Im5934379>="ammayswbidmss as c=aW="owas_NT_Mchitesin yror prelfileLDIFIm593433prelquove">mt thme">prelemphasis"tlem>iesl/tm>mat themat the”, map>mcli>ml/olmtan prean prv>=a accesskey="p"ehref="Aroubleshootith.html">Prev="am =th width="20%" align="center:n=a accesskey="u"ehref="Aroubleshootith.html">Pp="am=td width="40%" align="right"m Nid2="am=/tr>=/r>=td width="40%" align="left" valign="top:nPart VI Troubleshootith<=td width="20%" align="center:n=a accesskey="h"ehref="i="id.html">HoIF="am=td width="40%" align="right" valign="top:n Chapter 36. Analyzith and SolvithrSon, Problems"/td>=/tr>=/tnbleu can prcbodyemahtml>